<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/jsp/common/common_include_for_server.jsp"%>
<script type="text/javascript" src="<%=request.getContextPath()%>/ckeditor/ckeditor.js"></script>
<s:form action="hotInfo!saveOrUpdateDo" method="post">
	<table border="1" width="100%">
		<tr>
			<th>分类</th>
			<td><select name="hotInfo.hotInfoType.hotInfoTypeId">
				<option value="0">---请选择---</option>
				<s:iterator value="hotInfoTypeList">
					<option value="${hotInfoTypeId }" <s:if test="%{hotInfo.hotInfoType.hotInfoTypeId == hotInfoTypeId}">selected</s:if>  ><s:property value="name"/></option>
				</s:iterator>
			</select></td>
		</tr>
		<tr>
			<th width="100px;">内容</th>
			<td><textarea name="hotInfo.title" rows="3" cols="50"><s:property value="%{hotInfo.title}" /></textarea></td>
		</tr>
		<tr>
			<th>描述</th>
			<td><textarea name="hotInfo.content" rows="6" cols="50"><s:property value="%{hotInfo.content}" /></textarea></td>
		</tr>
		<tr>
			<td colspan="2"><s:hidden name="hotInfo.hotInfoId" value="%{hotInfo.hotInfoId}"></s:hidden> <s:hidden name="pageUtil.showPage" value="%{pageUtil.showPage}"></s:hidden> <s:submit
				value="提交"></s:submit></td>
		</tr>
	</table>
</s:form>